<!DOCTYPE HTML>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>供应商平台</title>
</head>
<body class="tob-wrap">
	<div th:replace="common/top"></div>
	<article class="container container-c7-create clearfix">
		<div th:replace="common/left::c_side"></div>
		<section class="content">
			<h3 class="m-top-bar">
			</h3>
			<div class="m-forms">
				<form id="form_personal"  action="#" method="post" th:action="@{/maintance/CreateMaterialClient}" th:object="${tMaterialMasterClient}" th:method="post">
					<p>
						<label for="">系统自动生成编码 : </label> <span class="span-label" th:text="${suiji}"></span>
					</p>
					<label style="color:red" for="">图片小于2M的JPG文件</label>
					<p>
						<label for="">相关图片 : </label>
						<textarea class="textarea" name="" id="" cols="30" rows="2" th:field="${tMaterialMasterCentralList.materialName}"></textarea>
					</p>
					<p>
						<label for="">相关图片 : </label> <span class="span-label"><img
							src="../../images/temp/pic_85x54_01.jpg" alt=""/></span> <input
							type="file" value="重新上传" placeholder="重新上传"/>
					</p>
					<p>
						<label for="">对应物资编码 : </label> <select class="select select-w140"
							name="materialMasterCentralId" id="materialMasterCentralId">
						              <option th:each="tMaterialMasterCentral : ${tMaterialMasterCentralList}" th:value="${tMaterialMasterCentral.id}" th:text="${tMaterialMasterCentral.materialName}" th:if="${tMaterialMasterCentral.id==tMaterialMasterCentralList.tMaterialMasterCentral}" selected = "selected"></option>
						        	  <option th:each="tMaterialMasterCentral : ${tMaterialMasterCentralList}" th:value="${tMaterialMasterCentral.id}" th:text="${tMaterialMasterCentral.materialName}" th:if="${tMaterialMasterCentral.id!=tMaterialMasterCentralList.tMaterialMasterCentral}"></option>
						</select>
					</p>
					<p>
						<label for="">物资类别 : </label> <select class="select select-w140"
							name="materialTypeId" id="materialTypeId">
							
							 <option th:each="tMaterialType : ${tMaterialTypeList}" th:value="${tMaterialType.id}" th:text="${tMaterialType.materialTypeName}" th:if="${tMaterialType.id==tMaterialMasterCentralList.tMaterialType}" selected = "selected"></option>
						     <option th:each="tMaterialType : ${tMaterialTypeList}" th:value="${tMaterialType.id}" th:text="${tMaterialType.materialTypeName}" th:if="${tMaterialType.id!=tMaterialMasterCentralList.tMaterialType}"></option>
							
							<option value="">请选择</option>
							<option th:each="tMaterialType : ${tMaterialTypeList}" th:value="${tMaterialType.id}" th:text="${tMaterialType.materialTypeName}"></option>
						</select> 
					</p>
					<p>
						<label for="">物资类别 : </label> <select class="select select-w140"
							name="" id="">
							
							 <option th:each="tMaterialType : ${tMaterialTypeList}" th:value="${tMaterialType.id}" th:text="${tMaterialType.materialTypeName}" th:if="${tMaterialType.id==tMaterialMasterCentralList.tMaterialType}" selected = "selected"></option>
						     <option th:each="tMaterialType : ${tMaterialTypeList}" th:value="${tMaterialType.id}" th:text="${tMaterialType.materialTypeName}" th:if="${tMaterialType.id!=tMaterialMasterCentralList.tMaterialType}"></option>
							
							
						</select> <select class="select select-w140" name="" id="">
							<option th:each="tMaterialType : ${tMaterialTypeList}" th:value="${tMaterialType.id}" th:text="${tMaterialType.materialTypeName}" th:if="${tMaterialType.id==tMaterialMasterCentralList.tMaterialType}" selected = "selected"></option>
						     <option th:each="tMaterialType : ${tMaterialTypeList}" th:value="${tMaterialType.id}" th:text="${tMaterialType.materialTypeName}" th:if="${tMaterialType.id!=tMaterialMasterCentralList.tMaterialType}"></option>
							
						</select> 
					</p>
					<p>
						<label for="">计量单位 : </label> <select class="select select-w140"
							name="tUnitId" id="tUnitId">
							
							
							<option th:each="tUnit : ${tUnitList}" th:value="${tUnit.id}" th:text="${tUnit.unitName}" th:if="${tUnit.id==tMaterialMasterCentralList.tUnit}" selected = "selected"></option>
						     <option th:each="tUnit : ${tUnitList}" th:value="${tUnit.id}" th:text="${tUnit.unitName}" th:if="${tUnit.id!=tMaterialMasterCentralList.tUnit}"></option>
							
							
							<option value="">请选择</option>
							<option th:each="tUnit : ${tUnitList}" th:value="${tUnit.id}" th:text="${tUnit.unitName}"></option>
						</select>
					</p>
					<p >
						<label for="">描述 :</label>
						<textarea class="textarea" name="" id="" cols="50" rows="3" th:field="${tMaterialMasterCentralList.materialName}"></textarea>
					</p>
					
					
					<p class="btn-bar">
						<!--<a href="#" class="btn btn-cyan">保存</a><a href="#"
							class="btn btn-simple">取消</a>-->
							<button class="btn btn-cyan" type="submit">保存</button>
							<button class="btn btn-simple" type="reset">取消</button>
					</p>
				</form>
			</div>

		</section>
	</article>
</body>
<script data-main="../js/page/b1_supplier" src="../lib/requirejs/require.js"></script>
</html>